home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000038_news@columbia.edu _Sun Sep 24 12:08:43 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA25232
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Sun, 24 Sep 2000 12:08:43 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA28537
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 24 Sep 2000 12:08:42 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA01677
  10.     for kermit.misc@watsun.cc.columbia.edu; Sun, 24 Sep 2000 11:59:09 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: kermit/lynx co-ordination notes
  14. Date: 24 Sep 2000 15:59:07 GMT
  15. Organization: Columbia University
  16. Message-ID: <8ql8cb$1kb$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <E13d2oS-0002KR-00@dxmcgyver>, Dallas E. Legan wrote:
  20. : I'm posting this to comp.protocols.kermit.misc & oclug@oclug.org
  21. : (Orange County Linux Users Group) to make public some
  22. : tips for coordinating Kermit and Lynx, and maybe get some
  23. : constructive feedback...
  24. :
  25. Great post, thanks!  It would be good to see a lot more posts of this
  26. nature.  Once you get your questions cleared up, feel free to send it
  27. in as a C-Kermit "case study" to join the others at:
  28.  
  29.   http://www.columbia.edu/kermit/ckermit.html#studies
  30.  
  31. : 2)  I frequently run Lynx from kermit using the C-Kermit 7 pty 
  32. : capability. Typically this is to automate login to web based email
  33. : accounts.  It could also be used to log the browsing session.
  34. : Recently I ran into an instance where I was trying
  35. : to pass a string with included blanks to lynx on its' startup:
  36. : .......
  37. : set network type pty
  38. : ...
  39. : set host lynx -parameter='some string'    URL://somewhere.something
  40. : ...
  41. : and lynx interpreted this as 
  42. : set host lynx -parameter='some string'    URL://somewhere.something
  43. :               **************** *******     ************************
  44. :
  45. Try using doublequotes instead of single quotes.  Kermit execvp()'s the
  46. program directly, and recognizes doublequotes (but not apostrophes) for
  47. grouping.  Obviously there's no way it can duplicate all the syntax rules
  48. of every shell, so if you need anything more shell-like, your intermediate
  49. shell approach is quite appropriate:
  50.  
  51. : set host { /bin/bash -c -
  52. :   " exec lynx -parameter='some string'    URL://somewhere.something" }
  53. : invoking bash just long enough to set up the argv/argc input,
  54. : before it gets overlaid by Lynx.
  55.  
  56. - Frank